package com.kakarote.examine.service;

import com.kakarote.core.feign.admin.entity.AdminMessageBO;
import com.kakarote.core.feign.examine.entity.ExamineFlowFinalVO;
import com.kakarote.core.servlet.BaseService;
import com.kakarote.examine.entity.PO.ExamineFlowFinal;

import java.util.List;

/**
 * <p>
 * 提交审批流程表-最终流程 服务类
 * </p>
 *
 * @author zyl
 * @since 2022-08-31
 */
public interface IExamineFlowFinalService extends BaseService<ExamineFlowFinal> {

    /**
     * 根据recordId获取审批记录最终全流程和对应每个流程的处理人列表
     *
     * @param recordId
     * @return
     */
    List<ExamineFlowFinalVO> queryFinalFlowList(Long recordId);


    AdminMessageBO setCopyMessageType(AdminMessageBO adminMessageBO, Integer label);


    Integer getMaxSort(Long recordId, Long examineId);
}
